package com.web.framework.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Log
// @Document：说明该注解将被包含在javadoc中
@Inherited // 说明子类可以继承父类中的该注解
public @interface UserLog {

  String userId() default "";

  String ucName() default "";
}
